package org.bluedream.core.utils.sms;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName Sms
 * @Description TODO
 * @Author Administrator
 * @Data 2021/12/21 13:46
 * @Version
 */
@Data
public class Sms implements Serializable {
    private static final long serialVersionUID = 6312620940584354396L;

    // regionId:系统指定Id，不得修改
    public static String regionId = "cn-hangzhou";
    //accessKey
    public static String accessKeyId = "LTAI4GGJJqW7Hz9SJNCKuvup";
    public static String accessSecret = "1uE5X9PDvhaRBVKdObXzwmP5EKQiwk";
    //短信服务的服务接入地址
    public static String domain= "dysmsapi.aliyuncs.com";
    //短信API产品名称（短信产品名固定，无需修改）
    public static String product = "Dysmsapi";
    //签名
    public static String SIGN_NAME = "城中城购物广场";

    //模板代码
    private String templateCode;
    private String place;
    private String date;
    private String content;
    private String[] phones;
    private List<String> phoneList;
    private List<String> nameList;
    private String phone;
    private String signName;

    public Sms() {
        this.signName = Sms.SIGN_NAME;
    }

    public Sms(String[] phones) {
        this.signName = Sms.SIGN_NAME;
        this.phones = phones;
    }
}